import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './permission' // permission control
// import Swiper from 'swiper'
// import 'swiper/dist/css/swiper.min.css'
// import 'swiper/dist/js/swiper.min'
import { createApp } from 'vue'
import router from './router'
import store from './store/index.js'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import '@/styles/index.scss' // global css
import App from './App.vue'
import 'amfe-flexible'

// createApp(App).user(store).use(router).use(ElementPlus).mount('#app')

let app = createApp(App);
app.use(store);
app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
  });
app.mount('#app');
